package com.syf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.syf.domain.SysRole;

/**
*
*
*@author 苏耀奋
*@create 2021-07-11 12:11
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {
    /**
     * 根据用户ID 获取用户角色 Code
     * @param userId
     * @return
     */
    String getUserRoleCode(Long userId);
}
